<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			var ar=[
				{name:"李傲平",age:22,married:false,selfIntro:function(){
					alert(this.name+","+this.age+",结婚了？"+this.married+",手机号："+this.phone);
				}},
				{name:"孟学伟",age:22,married:false,selfIntro:function(){
					alert(this.name+","+this.age+",结婚了？"+this.married+",手机号："+this.phone);
				}},
				{name:"杨自强",age:22,married:false,selfIntro:function(){
					alert(this.name+","+this.age+",结婚了？"+this.married+",手机号："+this.phone);
				}}
			]
			//alert(ar[0]["age"]);
			for (var i = 0; i < ar.length; i++) {
				ar[i].selfIntro();
			}
		</script>
	</head>
	<body>
	</body>
</html>